<?php
/**
*
* @package ppkBb3cker
* @version $Id: ppkbb3cker_trstats.php 1.000 2010-01-25 19:30:00 PPK $
* @copyright (c) 2010 PPK
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB') || !defined('IN_PORTAL'))
{
	exit;
}

include($phpbb_root_path . 'tracker/include/index_add1_stat.'.$phpEx);

$template->assign_vars(array(
	'TOTAL_TORRENTS'	=> sprintf($user->lang[$l_total_torrent_s], $total_torrents),
	'TOTAL_COMMENTS'	=> sprintf($user->lang[$l_total_comment_s], $total_comments),
	'TOTAL_PEERS'	=> sprintf($user->lang[$l_total_peer_s], $total_peers),

	'TOTAL_SIZE'	=> sprintf($user->lang[$l_total_sizes_s], get_formatted_filesize($total_sizes)),
	'TOTAL_UP'	=> sprintf($user->lang[$l_total_up_s], get_formatted_filesize($total_up)),
	'TOTAL_DOWN'	=> sprintf($user->lang[$l_total_down_s], get_formatted_filesize($total_down)),
	'TOTAL_SUP'	=> sprintf($user->lang[$l_total_sup_s], get_formatted_filesize($total_sup)),
	'TOTAL_SDOWN'	=> sprintf($user->lang[$l_total_sdown_s], get_formatted_filesize($total_sdown)),
	'TOTAL_SEED'	=> sprintf($user->lang[$l_total_seed_s], $total_seed),
	'TOTAL_LEECH'	=> sprintf($user->lang[$l_total_leech_s], $total_leech),

	'TOTAL_TDOWN'	=> sprintf($user->lang[$l_t_down_s], $t_seed),
	'TOTAL_TUP'	=> sprintf($user->lang[$l_t_up_s], $t_leech),
	'TOTAL_UDOWN'	=> sprintf($user->lang[$l_u_down_s], $u_seed),
	'TOTAL_UUP'	=> sprintf($user->lang[$l_u_up_s], $u_leech),
	'TOTAL_SPEEDUP'	=> sprintf($user->lang[$l_up_speed], $up_speed),
	'TOTAL_SPEEDDOWN'	=> sprintf($user->lang[$l_down_speed], $down_speed),
	)
);
?>
